/*
 * Copyright (c) 2023 HiSilicon (Shanghai) Technologies CO., LIMITED.
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 * Description: board adapter source file
 */

#ifndef __PLAT_PM_BOARD_WS73_H__
#define __PLAT_PM_BOARD_WS73_H__

#include "soc_osal.h"

#ifdef __cplusplus
#if __cplusplus
extern "C" {
#endif
#endif

osal_s32 ws73_board_power_on(osal_void);
osal_s32 ws73_board_power_off(osal_void);
osal_s32 ws73_board_power_reset_hcc(osal_void);
osal_s32 ws73_board_power_reset_gpio(osal_void);
osal_s32 ws73_board_power_reset(td_bool sys_boot);
osal_s32 ws73_board_service_enter(osal_void);
osal_s32 ws73_board_service_exit(osal_void);
td_void plat_reboot_system(td_void);
#ifdef __cplusplus
#if __cplusplus
}
#endif
#endif

#endif /* end of plat_pm_board_ws73.h */